[Snyk] Upgrade stripe from 15.12.0 to 17.6.0 #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade stripe from 15.12.0 to 17.6.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 44 versions ahead of your current version.
The recommended version was released 21 days ago.
Release notes
Package name: stripe
-
17.6.0 - 2025-01-27
- #2250 Update generated code
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Change
- Add support for
- Add support for
- Add support for new value
- Add support for new value
- Add support for
- Add support for new value
- Add support for new value
- Add support for new value
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Change type of
- Add support for new value
- Add support for
- Add support for new value
- #2249 add justfile, remove coveralls, tweak ESLint
- #2252 Added CONTRIBUTING.md file
- #2242 Added pull request template
-
17.6.0-beta.3 - 2025-01-23
- #2253 Update generated code for beta
- Change
- Remove support for
-
17.6.0-beta.2 - 2025-01-18
- #2247 Update generated code for beta
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Change
- Add support for new value
- Add support for
- Add support for new value
- Add support for new value
- Add support for
- Add support for new value
- Add support for new value
- Add support for new value
- Add support for new value
- Add support for
- Add support for new value
-
17.6.0-beta.1 - 2025-01-09
- #2239 Update generated code for beta
- Add support for
- Add support for
- Add support for
- Add support for
- Remove support for value
- Add support for
- Change
- Add support for
- Add support for new value
- Add support for new value
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Change type of
- Add support for new value
- Add support for
-
17.5.0 - 2024-12-18
- #2237 This release changes the pinned API version to
- Change
- Add support for
- Add support for new values
- Add support for
- Change type of
- Change
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for new values
- Add support for new values
- Add support for
- Add support for new value
- Add support for
- Add support for
- Add support for
- Add support for
- Change type of
- Add support for
- Add support for
- Add support for new value
- #2238 add missing key warning to README
-
17.5.0-beta.3 - 2024-12-12
- #2235 Update generated code for beta
- Change
- Add support for
- Add support for new values
- Add support for new value
- Add support for new values
- Remove support for
- Add support for
-
17.5.0-beta.2 - 2024-12-05
- #2232 Update generated code for beta
- Add support for
- Add support for new values
- Add support for
- Add support for
- Change
- Add support for
-
17.5.0-beta.1 - 2024-11-21
- #2229 Update generated code for beta
- Add support for
- Change
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for new value
- Add support for
- Change type of
- Add support for
- Add support for
- Add support for new value
-
17.4.0 - 2024-11-20
- #2222 This release changes the pinned API version to
- Add support for
- Add support for
- Change type of
- Change
- Add support for
- Add support for
- Add support for
- Add support for
- Add support for new value
- Add support for new value
- Add support for new value
- Add support for new value
- Add support for
- Add support for new value
- Add support for
- Change
- Add support for
- Add support for new value
- Add support for
- Add support for
- Add support for
- Change type of
- Add support for new value
- #2215 Remove empty resources created for service groupings
- Remove
-
17.4.0-beta.3 - 2024-11-15
- #2226 Update generated code for beta
- Add support for
- Add support for
- Add support for new value
- #2225 Update generated code for beta
- Add support for
- Add support for
-
17.4.0-beta.2 - 2024-11-07
-
17.4.0-beta.1 - 2024-10-29
-
17.3.1 - 2024-11-01
-
17.3.0 - 2024-10-29
-
17.3.0-beta.1 - 2024-10-18
-
17.2.1 - 2024-10-18
-
17.2.0 - 2024-10-09
-
17.2.0-beta.2 - 2024-10-08
-
17.2.0-beta.1 - 2024-10-03
-
17.1.0 - 2024-10-03
-
17.0.0 - 2024-10-01
-
16.13.0-beta.1 - 2024-09-18
-
16.12.0 - 2024-09-18
-
16.12.0-beta.1 - 2024-09-13
-
16.11.0 - 2024-09-12
-
16.11.0-beta.1 - 2024-09-05
-
16.10.0 - 2024-09-05
-
16.9.0 - 2024-08-29
-
16.9.0-beta.2 - 2024-08-22
-
16.9.0-beta.1 - 2024-08-15
-
16.8.0 - 2024-08-15
-
16.8.0-beta.1 - 2024-08-12
-
16.7.0 - 2024-08-09
-
16.7.0-beta.1 - 2024-08-01
-
16.6.0 - 2024-08-01
-
16.6.0-beta.1 - 2024-07-25
-
16.5.0 - 2024-07-25
-
16.4.0 - 2024-07-23
-
16.4.0-beta.1 - 2024-07-11
-
16.3.0-beta.1 - 2024-07-05
-
16.2.0 - 2024-07-05
-
16.2.0-beta.1 - 2024-06-27
-
16.1.0 - 2024-06-27
-
16.0.0 - 2024-06-24
-
15.12.0 - 2024-06-17
from stripe GitHub release notesclosemethod on resourceTreasury.FinancialAccountpay_by_bank_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesdirectorship_declarationandownership_exemption_reasononAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyproof_of_ultimate_beneficial_ownershiponAccountCreateParams.documentsandAccountUpdateParams.documentsfinancial_accountonAccountSession.components,AccountSessionCreateParams.components, andTreasury.OutboundTransfer.destination_payment_method_detailsfinancial_account_transactions,issuing_card, andissuing_cards_listonAccountSession.componentsandAccountSessionCreateParams.componentsadvice_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorBilling.CreditBalanceTransaction.credit.credits_application_invoice_voided,Card.regulated_status,Charge.payment_method_details.card.network_transaction_id,Charge.payment_method_details.card.regulated_status,ConfirmationToken.payment_method_preview.card.regulated_status,CreditNote.pretax_credit_amounts,Invoice.total_pretax_credit_amounts,Issuing.Authorization.merchant_data.tax_id,Issuing.Transaction.merchant_data.tax_id, andPaymentMethod.card.regulated_statusto be requiredpay_by_bankonCharge.payment_method_details,Checkout.SessionCreateParams.payment_method_options,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodUpdateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datacountryonCharge.payment_method_details.paypal,ConfirmationToken.payment_method_preview.paypal, andPaymentMethod.paypalpay_by_bankon enumsCheckout.SessionCreateParams.payment_method_types[],CustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeSDon enumsCheckout.Session.shipping_address_collection.allowed_countries[],Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[],PaymentLink.shipping_address_collection.allowed_countries[],PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], andPaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]discountsonCheckout.Sessionpay_by_bankon enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type,PaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.typepay_by_bankon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typepay_by_bankon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[]phone_number_collectiononPaymentLinkUpdateParamsjpyonTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tippingnicknameonTreasury.FinancialAccountCreateParams,Treasury.FinancialAccountUpdateParams, andTreasury.FinancialAccountforwarding_settingsonTreasury.FinancialAccountUpdateParamsis_defaultonTreasury.FinancialAccountdestination_payment_method_dataonTreasury.OutboundTransferCreateParamsTreasury.OutboundTransfer.destination_payment_method_details.typefromliteral('us_bank_account')toenum('financial_account'|'us_bank_account')outbound_transferon enumsTreasury.ReceivedCredit.linked_flows.source_flow_details.typeandTreasury.ReceivedCreditListParams.linked_flows.source_flow_typeoutbound_transferonTreasury.ReceivedCredit.linked_flows.source_flow_details2025-01-27.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
Refund.destination_details.blik.network_decline_codeandRefund.destination_details.swish.network_decline_codeto be requiredstripe_accountonTerminal.Reader.action.collect_payment_method,Terminal.Reader.action.confirm_payment_intent,Terminal.Reader.action.process_payment_intent, andTerminal.Reader.action.refund_paymentSee the changelog for more details.
pay_by_bank_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiesdirectorship_declarationonAccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companyproof_of_ultimate_beneficial_ownershiponAccountCreateParams.documentsandAccountUpdateParams.documentstax_threshold_monitoringonAccountSessionCreateParams.componentsfinancial_account_transactions,financial_account,issuing_card, andissuing_cards_listonAccountSession.componentsBilling.CreditBalanceTransaction.credit.credits_application_invoice_voidedto be requiredalways_invoiceon enumsBillingPortal.Configuration.features.subscription_cancel.proration_behavior,BillingPortal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior, andBillingPortal.ConfigurationUpdateParams.features.subscription_cancel.proration_behaviorpay_by_bankonCharge.payment_method_details,Checkout.SessionCreateParams.payment_method_options,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethodUpdateParams,PaymentMethod,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_datapay_by_bankon enumCheckout.SessionCreateParams.payment_method_types[]SDon enumsCheckout.Session.shipping_address_collection.allowed_countries[],Checkout.SessionCreateParams.shipping_address_collection.allowed_countries[],PaymentLink.shipping_address_collection.allowed_countries[],PaymentLinkCreateParams.shipping_address_collection.allowed_countries[], andPaymentLinkUpdateParams.shipping_address_collection.allowed_countries[]discountsonCheckout.Sessionpay_by_bankon enumsConfirmationTokenCreateParams.testHelpers.payment_method_data.type,PaymentIntentConfirmParams.payment_method_data.type,PaymentIntentCreateParams.payment_method_data.type,PaymentIntentUpdateParams.payment_method_data.type,SetupIntentConfirmParams.payment_method_data.type,SetupIntentCreateParams.payment_method_data.type, andSetupIntentUpdateParams.payment_method_data.typepay_by_bankon enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.typepay_by_bankon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typepay_by_bankon enumsPaymentLink.payment_method_types[],PaymentLinkCreateParams.payment_method_types[], andPaymentLinkUpdateParams.payment_method_types[]jpyonTerminal.Configuration.tipping,Terminal.ConfigurationCreateParams.tipping, andTerminal.ConfigurationUpdateParams.tipping2025-01-27.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
closemethod on resourceTreasury.FinancialAccountownership_exemption_reasononAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companydirectorship_declarationonAccount.companyadvice_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErroralways_invoicefrom enumsBillingPortal.Configuration.features.subscription_cancel.proration_behavior,BillingPortal.ConfigurationCreateParams.features.subscription_cancel.proration_behavior, andBillingPortal.ConfigurationUpdateParams.features.subscription_cancel.proration_behaviorbrand_productonCard,Source.card_present,Source.card, andSource.three_d_secureCard.regulated_status,Charge.payment_method_details.card.network_transaction_id,Charge.payment_method_details.card.regulated_status,ConfirmationToken.payment_method_preview.card.regulated_status,CreditNote.pretax_credit_amounts,Invoice.total_pretax_credit_amounts,Issuing.Authorization.merchant_data.tax_id,Issuing.Transaction.merchant_data.tax_id, andPaymentMethod.card.regulated_statusto be requiredcountryonCharge.payment_method_details.paypal,ConfirmationToken.payment_method_preview.paypal, andPaymentMethod.paypalal_tinon enumsCheckout.Session.collected_information.tax_ids[].typeandOrder.tax_details.tax_ids[].typeal_tinon enumsOrderCreateParams.tax_details.tax_ids[].typeandOrderUpdateParams.tax_details.tax_ids[].typephone_number_collectiononPaymentLinkUpdateParamsnicknameonTreasury.FinancialAccountCreateParams,Treasury.FinancialAccountUpdateParams, andTreasury.FinancialAccountforwarding_settingsonTreasury.FinancialAccountUpdateParamsis_defaultonTreasury.FinancialAccountdestination_payment_method_dataonTreasury.OutboundTransferCreateParamsfinancial_accountonTreasury.OutboundTransfer.destination_payment_method_detailsTreasury.OutboundTransfer.destination_payment_method_details.typefromliteral('us_bank_account')toenum('financial_account'|'us_bank_account')outbound_transferon enumsTreasury.ReceivedCredit.linked_flows.source_flow_details.typeandTreasury.ReceivedCreditListParams.linked_flows.source_flow_typeoutbound_transferonTreasury.ReceivedCredit.linked_flows.source_flow_detailsSee the changelog for more details.
2024-12-18.acacia.Account.business_profile.annual_revenueandAccount.business_profile.estimated_worker_countto be optionalnetwork_advice_codeandnetwork_decline_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorpayout_minimum_balance_holdandpayout_minimum_balance_releaseon enumBalanceTransaction.typecredits_application_invoice_voidedonBilling.CreditBalanceTransaction.creditBilling.CreditBalanceTransaction.credit.typefromliteral('credits_granted')toenum('credits_application_invoice_voided'|'credits_granted')BillingPortal.Configuration.features.subscription_update.schedule_at_period_end,Issuing.Authorization.verified_by_fraud_challenge,LineItem.description, andPayout.trace_idto be requiredallow_redisplayonCardandSourceregulated_statusonCard,Charge.payment_method_details.card,ConfirmationToken.payment_method_preview.card, andPaymentMethod.cardfundingonCharge.payment_method_details.amazon_payandCharge.payment_method_details.revolut_paynetwork_transaction_idonCharge.payment_method_details.cardreference_prefixonCheckout.Session.payment_method_options.bacs_debit.mandate_options,Checkout.Session.payment_method_options.sepa_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options,PaymentIntent.payment_method_options.bacs_debit.mandate_options,PaymentIntent.payment_method_options.sepa_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options,SetupIntent.payment_method_options.bacs_debit.mandate_options,SetupIntent.payment_method_options.sepa_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, andSetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_optionsal_tin,am_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumsCheckout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.typeal_tin,am_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumsCustomerCreateParams.tax_id_data[].type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type,InvoiceUpcomingParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.typevisa_complianceonDispute.evidence.enhanced_evidence,Dispute.evidence_details.enhanced_eligibility, andDisputeUpdateParams.evidence.enhanced_evidencerequest_signatureon enumsForwarding.Request.replacements[]andForwarding.RequestCreateParams.replacements[]account_holder_addressandbank_addressonFundingInstructions.bank_transfer.financial_addresses[].iban,FundingInstructions.bank_transfer.financial_addresses[].sort_code,FundingInstructions.bank_transfer.financial_addresses[].spei,FundingInstructions.bank_transfer.financial_addresses[].zengin,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zenginaccount_holder_nameonFundingInstructions.bank_transfer.financial_addresses[].speiandPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].speidisabled_reasononInvoice.automatic_tax,Subscription.automatic_tax,SubscriptionSchedule.default_settings.automatic_tax, andSubscriptionSchedule.phases[].automatic_taxtax_idonIssuing.Authorization.merchant_dataandIssuing.Transaction.merchant_dataLineItem.descriptionfromstringtostring | nulltrial_period_daysonPaymentLinkUpdateParams.subscription_dataal,am,ao,ba,bb,bs,cd,gn,kh,me,mk,mr,np,pe,sn,sr,tj,ug,uy,zm, andzwonTax.Registration.country_optionsandTax.RegistrationCreateParams.country_options2024-12-18.acaciaon enumWebhookEndpointCreateParams.api_versionSee the changelog for more details.
Account.business_profile.annual_revenueandAccount.business_profile.estimated_worker_countto be optionalallow_redisplayonCardandSourceam_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumsCheckout.Session.collected_information.tax_ids[].typeandOrder.tax_details.tax_ids[].typenetwork_fallbackon enumIssuing.Authorization.request_history[].reasonam_tin,ao_tin,ba_tin,bb_tin,bs_tin,cd_nif,gn_nif,kh_tin,me_pib,mk_vat,mr_nif,np_pan,sn_ninea,sr_fin,tj_tin,ug_tin,zm_tin, andzw_tinon enumsOrderCreateParams.tax_details.tax_ids[].typeandOrderUpdateParams.tax_details.tax_ids[].typeamount_refundedonPaymentRecordaccountonTerminal.Reader.action.collect_payment_method,Terminal.Reader.action.confirm_payment_intent,Terminal.Reader.action.process_payment_intent, andTerminal.Reader.action.refund_paymentSee the changelog for more details.
automatic_indirect_taxonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiespayout_minimum_balance_holdandpayout_minimum_balance_releaseon enumBalanceTransaction.typereference_prefixonCheckout.Session.payment_method_options.bacs_debit.mandate_options,Checkout.Session.payment_method_options.sepa_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.bacs_debit.mandate_options,Checkout.SessionCreateParams.payment_method_options.sepa_debit.mandate_options,Order.payment.settings.payment_method_options.sepa_debit.mandate_options,OrderCreateParams.payment.settings.payment_method_options.sepa_debit.mandate_options,OrderUpdateParams.payment.settings.payment_method_options.sepa_debit.mandate_options,PaymentIntent.payment_method_options.bacs_debit.mandate_options,PaymentIntent.payment_method_options.sepa_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentCreateParams.payment_method_options.sepa_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.bacs_debit.mandate_options,PaymentIntentUpdateParams.payment_method_options.sepa_debit.mandate_options,SetupIntent.payment_method_options.bacs_debit.mandate_options,SetupIntent.payment_method_options.sepa_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.bacs_debit.mandate_options,SetupIntentConfirmParams.payment_method_options.sepa_debit.mandate_options,SetupIntentCreateParams.payment_method_options.bacs_debit.mandate_options,SetupIntentCreateParams.payment_method_options.sepa_debit.mandate_options,SetupIntentUpdateParams.payment_method_options.bacs_debit.mandate_options, andSetupIntentUpdateParams.payment_method_options.sepa_debit.mandate_optionsdisabled_reasononInvoice.automatic_tax,Subscription.automatic_tax,SubscriptionSchedule.default_settings.automatic_tax, andSubscriptionSchedule.phases[].automatic_taxIssuing.Authorization.verified_by_fraud_challengeto be requiredtrial_period_daysonPaymentLinkUpdateParams.subscription_dataSee the changelog for more details.
network_advice_codeandnetwork_decline_codeonCharge.outcome,Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeErrorBillingPortal.Configuration.features.subscription_update.schedule_at_period_endandLineItem.descriptionto be requiredfundingonCharge.payment_method_details.amazon_payandCharge.payment_method_details.revolut_payamount_requestedandpartial_authorizationonCharge.payment_method_details.cardmetadataonCheckout.SessionCreateParams.line_items[]andLineItemline_itemsonCheckout.Session.permissions.update,Checkout.SessionCreateParams.permissions.update, andCheckout.SessionUpdateParamsinvoice.overpaidon enumEvent.typeadjustable_quantityanddisplayonLineItemLineItem.descriptionfromstringtostring | nullrequest_partial_authorizationonPaymentIntent.payment_method_options.card,PaymentIntentConfirmParams.payment_method_options.card,PaymentIntentCreateParams.payment_method_options.card, andPaymentIntentUpdateParams.payment_method_options.cardpayment_method_optionsonPaymentIntentIncrementAuthorizationParamsinvoice.overpaidon enumsWebhookEndpointCreateParams.enabled_events[]andWebhookEndpointUpdateParams.enabled_events[]See the changelog for more details.
2024-11-20.acacia.respondtest helper method on resourceIssuing.AuthorizationauthorizeronAccountPersonsParams.relationshipandTokenCreateParams.person.relationshipAccount.future_requirements.disabled_reasonandAccount.requirements.disabled_reasonfromstringtoenumAccountSession.components.account_management.features.disable_stripe_user_authentication,AccountSession.components.account_onboarding.features.disable_stripe_user_authentication,AccountSession.components.balances.features.disable_stripe_user_authentication,AccountSession.components.notification_banner.features.disable_stripe_user_authentication, andAccountSession.components.payouts.features.disable_stripe_user_authenticationto be requiredadaptive_pricingonCheckout.SessionCreateParamsandCheckout.Sessionmandate_optionsonCheckout.Session.payment_method_options.bacs_debit,Checkout.Session.payment_method_options.sepa_debit,Checkout.SessionCreateParams.payment_method_options.bacs_debit, andCheckout.SessionCreateParams.payment_method_options.sepa_debitrequest_extended_authorization,request_incremental_authorization,request_multicapture, andrequest_overcaptureonCheckout.Session.payment_method_options.cardandCheckout.SessionCreateParams.payment_method_options.cardcapture_methodonCheckout.SessionCreateParams.payment_method_options.kakao_pay,Checkout.SessionCreateParams.payment_method_options.kr_card,Checkout.SessionCreateParams.payment_method_options.naver_pay,Checkout.SessionCreateParams.payment_method_options.payco, andCheckout.SessionCreateParams.payment_method_options.samsung_paysubscribeon enumsCheckout.Session.submit_type,Checkout.SessionCreateParams.submit_type,PaymentLink.submit_type, andPaymentLinkCreateParams.submit_typeli_vaton enumsCheckout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.typeli_vaton enumsCustomerCreateParams.tax_id_data[].type,InvoiceCreatePreviewParams.customer_details.tax_ids[].type,InvoiceUpcomingLinesParams.customer_details.tax_ids[].type,InvoiceUpcomingParams.customer_details.tax_ids[].type,Tax.CalculationCreateParams.customer_details.tax_ids[].type, andTaxIdCreateParams.typefinancial_account_statementon enumsFile.purposeandFileListParams.purposeaccount_holder_address,account_holder_name,account_type, andbank_addressonFundingInstructions.bank_transfer.financial_addresses[].aba,FundingInstructions.bank_transfer.financial_addresses[].swift,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].aba, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].swiftservice_taxon enumsInvoiceAddLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type,InvoiceUpdateLinesParams.lines[].tax_amounts[].tax_rate_data.tax_type,Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type,Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type,Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type,Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type,TaxRate.tax_type,TaxRateCreateParams.tax_type, andTaxRateUpdateParams.tax_typemerchant_amountandmerchant_currencyonIssuing.AuthorizationCreateParams.testHelpersIssuing.AuthorizationCreateParams.testHelpers.amountto be optionalfraud_challengesandverified_by_fraud_challengeonIssuing.Authorizationlinkon enumsPaymentIntent.payment_method_options.card.network,PaymentIntentConfirmParams.payment_method_options.card.network,PaymentIntentCreateParams.payment_method_options.card.network,PaymentIntentUpdateParams.payment_method_options.card.network,SetupIntent.payment_method_options.card.network,SetupIntentConfirmParams.payment_method_options.card.network,SetupIntentCreateParams.payment_method_options.card.network,SetupIntentUpdateParams.payment_method_options.card.network,Subscription.payment_settings.payment_method_options.card.network,SubscriptionCreateParams.payment_settings.payment_method_options.card.network, andSubscriptionUpdateParams.payment_settings.payment_method_options.card.networksubmit_typeonPaymentLinkUpdateParamstrace_idonPayoutnetwork_decline_codeonRefund.destination_details.blikandRefund.destination_details.swishTreasury.InboundTransfer.origin_payment_methodfromstringtostring | null2024-11-20.acaciaon enumWebhookEndpointCreateParams.api_versionStripe.V2.BillingResource,Stripe.V2.CoreResource, andStripe.V2Resourcetypes from the public interface as they are no longer needed. SDK usage will not be affected but any references to these types in your application will need to be removed.See the changelog for more details.
account_holder_addressandbank_addressonFundingInstructions.bank_transfer.financial_addresses[].iban,FundingInstructions.bank_transfer.financial_addresses[].sort_code,FundingInstructions.bank_transfer.financial_addresses[].spei,FundingInstructions.bank_transfer.financial_addresses[].zengin,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].iban,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].sort_code,PaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].spei, andPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].zenginaccount_holder_nameonFundingInstructions.bank_transfer.financial_addresses[].speiandPaymentIntent.next_action.display_bank_transfer_instructions.financial_addresses[].speisubscribeon enumPaymentLinkUpdateParams.submit_typerespondtest helper method on resourceIssuing.Authorizationfraud_challengesandverified_by_fraud_challengeonIssuing.AuthorizationSee the changelog for more details.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Enhancements: